package extend;

public class Cylinder {
    private double radius;

    public  void Cylinder(double radius){
        this.radius=1;//初始值
    }

    public void setRadius(double radius){
        this.radius=radius;
    }
    public  double getRadius(){
        return radius;
    }
    public double  findArea(){
          double s=radius*radius;//面积
          return s;
    }

}
